package org.jeecg.modules.system.service;


import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pz.cloud.framework.base.model.Pageable;
import com.pz.cloud.framework.business.workflow.model.TaskUserModel;
import org.jeecg.modules.system.model.DepartIdModel;
import org.jeecg.modules.system.entity.SysUser;
import org.jeecg.modules.system.entity.SysUserDepart;


import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.system.vo.SysUserVo;

/**
 * <p>
 * SysUserDpeart用户组织机构service
 * </p>
 * @Author ZhiLin
 *
 */
public interface ISysUserDepartService extends IService<SysUserDepart> {
	

	/**
	 * 根据指定用户id查询部门信息
	 * @param userId
	 * @return
	 */
	List<DepartIdModel> queryDepartIdsOfUser(String userId);

	List<SysUserDepart> queryUserDepartByUserId(String userId);

	List<SysUserDepart> queryUserDepartByDepIds(List<String> depIds);


	/**
	 * 根据部门id查询用户信息
	 * @param depId
	 * @return
	 */
	List<SysUser> queryUserByDepId(String depId);

	public Page<SysUserVo> queryUserByDepCode(TaskUserModel taskUserModel);


}
